package com.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("记录实体")
@TableName(value = "record")
public class Record extends BaseEntity {

    @ApiModelProperty(value = "用户编号", example = "15542364")
    private String userId;
    @ApiModelProperty(value = "用户名", example = "wzz")
    private String username;
    @ApiModelProperty(value = "班级编号", example = "15542364")
    private String teamId;
    @ApiModelProperty(value = "资源库编号", example = "15542364")
    private String storeHouseId;
    @ApiModelProperty(value = "文件名称", example = "a.pdf")
    private String fileName;
    @ApiModelProperty(value = "文件路径", example = "/123/a.pdf")
    private String filePath;
    @ApiModelProperty(value = "文件下载", example = "0")
    private int download = 0;
    @ApiModelProperty(value = "文件预览", example = "0")
    private int preview = 0;
    @ApiModelProperty(value = "文件上传", example = "0")
    private int upload = 0;
    @ApiModelProperty(value = "文件大小", example = "1024")
    private long size = 0L;

}
